/*     */ package eos.moe.dragoncore;
/*     */ 
/*     */ import net.minecraft.client.Minecraft;
/*     */ import net.minecraft.entity.Entity;
/*     */ import net.minecraft.entity.EntityLivingBase;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public class kx
/*     */ {
/*     */   @eos/moe/dragoncore/t(v = {"播放动画"})
/*     */   public static void v(zz a, String str, o o1, float f) {
/*  23 */     int i = (o1 == ie.q) ? tf.w : (int)o1.v();
/*     */     
/*  25 */     kq.q.startAnimation(a, str, i, f);
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"设置骨骼可视"})
/*     */   public static void v(zz a, String str, boolean bool) {
/*  30 */     a.i.put(str, Boolean.valueOf(bool));
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"停止动画"})
/*     */   public static void z(zz a, String str, o o1) {
/*  36 */     int i = (o1 == ie.q) ? tf.w : (int)o1.v();
/*     */     
/*  38 */     kq.q.stopAnimation(a, str, i);
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"动画是否播放中"})
/*     */   public static boolean h(zz a, String str) {
/*  43 */     return kq.q.isPlayingAnimation(a, str);
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"移除死亡计数"})
/*     */   public static void h(zz a) {
/*  48 */     (a.v()).field_70725_aQ = 0;
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"停止动画层"})
/*     */   public static void v(zz a, String str, o o1) {
/*  54 */     int i = (o1 == ie.q) ? tf.w : (int)o1.v();
/*  55 */     a.v(str, i);
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"动画层是否播放中"})
/*     */   public static boolean z(zz a, String str) {
/*  60 */     be be = a.v().get(str);
/*  61 */     return (be != null && be.v() != null);
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否有动画"})
/*     */   public static boolean v(zz a, String str) {
/*  66 */     return (a.v(str).getValue() != null);
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"设置动画变量"})
/*     */   public static void v(zz a, String str, double d) {
/*  72 */     a.z.put(str, Double.valueOf(d));
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取动画层运行时间"})
/*     */   public int v(zz zz1, String str) {
/*  77 */     be be = zz1.v().get(str);
/*  78 */     if (be != null) {
/*  79 */       ji ji = be.v();
/*  80 */       if (ji != null) {
/*  81 */         return ji.z();
/*     */       }
/*     */     } 
/*  84 */     return 0;
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"移除实体"})
/*     */   public static void z(zz a) {
/*  89 */     (Minecraft.func_71410_x()).field_71441_e.func_72900_e((Entity)a.v());
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取实体名"})
/*     */   public static String v(zz a) {
/*  94 */     return a.f;
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取yaw"})
/*     */   public static double d(zz a) {
/*  99 */     return (a.v()).field_70759_as;
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取pitch"})
/*     */   public static double c(zz a) {
/* 104 */     return (a.v()).field_70125_A;
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取血量"})
/*     */   public static double s(zz a) {
/* 109 */     return a.v().func_110143_aJ();
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取最大血量"})
/*     */   public static double y(zz a) {
/* 114 */     return a.v().func_110138_aP();
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取血量比例"})
/*     */   public static double t(zz a) {
/* 119 */     EntityLivingBase entityLivingBase = a.v();
/* 120 */     return (entityLivingBase.func_110143_aJ() / entityLivingBase.func_110138_aP());
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取高度"})
/*     */   public static double h(zz a) {
/* 125 */     return (a.v()).field_70131_O;
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否骑乘"})
/*     */   public static boolean g(zz a) {
/* 131 */     return a.v().func_184218_aH();
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"骑乘生物是否为生命体"})
/*     */   public static boolean i(zz a) {
/* 137 */     EntityLivingBase entityLivingBase = a.v();
/* 138 */     return entityLivingBase.func_184187_bx() instanceof EntityLivingBase;
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"设置飞行状态"})
/*     */   public static void v(zz a, boolean bool) {
/* 144 */     if (a.w instanceof yw) {
/* 145 */       yw yw = (yw)a.w;
/* 146 */       yw.t(bool);
/*     */     } 
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"移除飞行状态"})
/*     */   public static void v(zz a) {
/* 152 */     if (a.w instanceof yw) {
/* 153 */       yw yw = (yw)a.w;
/* 154 */       yw.c();
/*     */     } 
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否鞘翅飞行中"})
/*     */   public static boolean l(zz a) {
/* 160 */     return (a.v().func_184599_cB() > 4);
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否攀爬中"})
/*     */   public static boolean q(zz a) {
/* 165 */     return a.w.k();
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否移动中"})
/*     */   public static boolean k(zz a) {
/* 170 */     return !h(a);
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否在水中"})
/*     */   public static boolean d(zz a) {
/* 175 */     return a.v().func_70090_H();
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否在水下"})
/*     */   public static boolean c(zz a) {
/* 180 */     return a.w.v();
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否跳跃中"})
/*     */   public static boolean s(zz a) {
/* 185 */     return a.v("jump", "false").equals("true");
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否在地面"})
/*     */   public static boolean y(zz a) {
/* 190 */     qr qr = a.w;
/* 191 */     return qr.t();
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否下坠中"})
/*     */   public static boolean t(zz a) {
/* 196 */     qr qr = a.w;
/* 197 */     return (qr.y() > 6.0F);
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否静止中"})
/*     */   public static boolean h(zz a) {
/* 202 */     qr qr = a.w;
/* 203 */     return qr.h();
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否奔跑中"})
/*     */   public static boolean z(zz a) {
/* 208 */     qr qr = a.w;
/* 209 */     return qr.v().func_70051_ag();
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"是否蹲下"})
/*     */   public static boolean v(zz a) {
/* 214 */     return a.v().func_70093_af();
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取正向动量"})
/*     */   public static double z(zz a) {
/* 220 */     return a.w.s();
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取横向动量"})
/*     */   public static double v(zz a) {
/* 225 */     return a.w.y();
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取主手物品"})
/*     */   public static o z(zz a) {
/* 230 */     return new kd(a.v().func_184614_ca());
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取副手物品"})
/*     */   public static o v(zz a) {
/* 235 */     return new kd(a.v().func_184592_cb());
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"取默认过渡时间"})
/*     */   public static int v() {
/* 241 */     return tf.w;
/*     */   }
/*     */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\kx.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */